package com.sam.designpattern.prototype;

/**
 * @Author: Sam
 * @Date: 2022-08-02 10:41
 * @Description: 原型客户端
 */
public class Client {

    public static void main(String[] args) {
        PersonalOrder orderApi = new PersonalOrder();
        orderApi.setProductId("1001");
        orderApi.setCustomerName("张三");
        orderApi.setOrderProductNum(2300);
        OrderBusiness ob = new OrderBusiness();
        ob.saveOrder(orderApi);
    }
}
